home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / utilities / comsuite 95 / COMMSUIT / STDCTR.VM_ / STDCTR.VM
Encoding:
Text File  |  1996-02-28  |  8.3 KB  |  529 lines

  1. ;
  2. ; StdCtr 
  3. ;
  4.  
  5.  
  6. ; Notify user to start recording now
  7.  
  8. [PlayGreeting]
  9. Action=Play
  10. Prompt=$greeting
  11. Menu14=Password
  12. Superuser=Password
  13. Menu15=record
  14. ; this will play start recording now....
  15. ;Default=PlayGreeting2
  16. ; this will skip it
  17. Default=record
  18. Delay=0
  19. Button=SOFTABORT
  20.  
  21. [PlayGreeting2]
  22. Action=Play
  23. Prompt=V\STARTMSG.
  24. Menu14=Password
  25. Superuser=Password
  26. Default=Record
  27. Delay=0
  28. Button=SOFTABORT
  29.  
  30. ;
  31. ; Begin common
  32. ;
  33.  
  34. ; assign the mailbox number
  35. [Startup]
  36. Action=boxid
  37. Prompt=$1
  38. Delay=0
  39. Button=SOFTABORT
  40. Default=checksuper
  41.  
  42. ; Determine if leave msg or retrieve msg mode
  43. [checksuper]
  44. Prompt=
  45. Action=noaction
  46. Menu14=Password
  47. Superuser=Password
  48. Delay=0
  49. Default=PlayGreeting
  50.  
  51. ; Record the message
  52. [Record]
  53. Prompt=$message
  54. Action=record
  55. Error=DiskFull
  56. Default=EndRec
  57. Button=SOFTABORT
  58. Delay=1
  59.  
  60. ; Play - 'recording stopped'
  61. [EndRec]
  62. Action=Play
  63. Prompt=V\ENDREC.
  64. Menu01=Playback
  65. Menu02=Record
  66. Menu14=Return
  67. Menu15=GoodBye
  68. Default=UserMenu
  69. Retries=3
  70. Button=SOFTABORT
  71. Delay=0
  72.  
  73. ; Play - 'mailbox full'
  74. [DiskFull]
  75. Action=Play
  76. Prompt=V\ENDREC.+V\MBFULL.
  77. Menu01=Playback
  78. Menu14=Return
  79. Menu15=GoodBye
  80. Default=UserMenu
  81. Retries=3
  82. Delay=0
  83.  
  84. ; Allow user to hear instructions for playing back the message etc.
  85. [UserMenu]
  86. Action=Play
  87. Prompt=V\CALLMENU.
  88. Menu01=Playback
  89. Menu02=Record
  90. Menu14=Return
  91. Menu15=GoodBye
  92. Default=GoodBye
  93. Button=SOFTABORT
  94. Retries=2
  95. Delay=3
  96.  
  97. ; Play the message
  98. [Playback]
  99. Action=Play
  100. Prompt=$message
  101. Menu14=Return
  102. Menu15=UserMenu
  103. Default=UserMenu
  104. Button=SOFTABORT
  105. Delay=0
  106.  
  107. ; Save msg & exit
  108. [Return]
  109. Action=SetUser
  110. Prompt=
  111. Menu00=
  112. Default=MainMenu
  113.  
  114. [MainMenu]
  115. Action=ReturnMenu
  116. Prompt=Save
  117. Menu00=
  118. Default=
  119.  
  120. ; Request user to enter password (limited to 2 digits)
  121. [Password]
  122. Prompt=V\PASSWRDQ.
  123. Action=capturedigits
  124. value=2
  125. Menu00=MatchSpecial
  126. Menu15=GoodBye
  127. Default=Password
  128. Retries=3
  129. Button=SOFTABORT
  130. Delay=6
  131.  
  132. ; Data discrimination
  133. [MatchSpecial]
  134. Action=matchdigits
  135. Prompt=9*
  136. Menu00=datadisc
  137. ;Value used in this menu to set limit on
  138. ;number of times MatchDig can be called
  139. Error=GoodBye
  140. Default=ChkFaxMode
  141. Delay=0
  142. ;
  143.  
  144. ; Go to Fax mode
  145. [ChkFaxMode]
  146. Action=matchdigits
  147. Prompt=8*
  148. Menu00=Faxmode
  149. ;Value used in this menu to set limit on
  150. ;number of times MatchDig can be called
  151. Error=return
  152. Default=MatchDigs
  153. Delay=0
  154. ;
  155.  
  156. [FaxMode]
  157. Action=Faxmode
  158. Prompt=
  159. Default=
  160. Delay=0
  161.  
  162. [DataDisc]
  163. Action=datarecv
  164. Prompt=
  165. Menu00=
  166. Error=
  167. Default=
  168. ;
  169.  
  170. [MatchDigs]
  171. Action=matchdigits
  172. Prompt=$password
  173. Menu00=setsuper
  174. ;Value used in this menu to set limit on
  175. ;number of times MatchDig can be called
  176. Value=3
  177. Error=GoodBye
  178. Default=Password
  179. Delay=0
  180.  
  181. ;
  182. [setsuper]
  183. Action=setsuperuser
  184. Prompt=
  185. Default=EndOpt
  186.  
  187. ; Check for new messages
  188. [StartupCheck]
  189. Action=SetList
  190. Prompt=$newlist
  191. EmptyList=NoNew
  192. Default=NewInfo
  193. Retries=0
  194. Delay=0
  195.  
  196. ; Notify user no new messages
  197. [NoNew]
  198. Action=Play
  199. Prompt=V\NONEWMSG.
  200. Menu14=EndOpt
  201. Menu15=GoodBye
  202. Default=CheckOldList
  203. Retries=1
  204. Delay=1
  205. Button=SOFTABORT
  206.  
  207. ; Check for old messages
  208. [CheckOldList]
  209. Action=SetList
  210. Prompt=$OldList
  211. EmptyList=NoOld
  212. Default=OldInfo
  213. Retries=0
  214. Delay=0
  215. Button=SOFTABORT
  216.  
  217. ; Notify user no old messages
  218. [NoOld]
  219. Action=Play
  220. Prompt=V\NOOLDMSG.
  221. Menu14=EndOpt
  222. Menu15=GoodBye
  223. Default=EndOpt
  224. Retries=2
  225. Delay=1
  226. Button=SOFTABORT
  227.  
  228. ; Notify user count of new voice and fax messages
  229. [NewInfo]
  230. Action=Play
  231. Prompt=V\YOUHAVE.+$voiceMWI+V\JUSTNEW.+$ifone+V\VXMSG.|V\VXMSGS.+V\YOUHAVE.+$faxMWI+V\JUSTNEW.+$ifone+V\FAXMSG.|V\FAXMSGS.
  232. Menu06=GetFirst
  233. Menu14=EndOpt
  234. Menu15=GoodBye
  235. Default=GetFirst
  236. Retries=1
  237. Delay=2
  238. Button=SOFTABORT
  239.  
  240. ; Notify user count of old voice and fax messages
  241. [OldInfo]
  242. Action=Play
  243. Prompt=V\YOUHAVE.+$allMWI+V\OLD.+$ifone+V\MESSAGE.|V\MESSAGES.
  244. Menu06=GetFirst
  245. Menu14=EndOpt
  246. Menu15=GoodBye
  247. Default=GetFirst
  248. Retries=1
  249. Delay=1
  250. Button=SOFTABORT
  251.  
  252. ; Get first message
  253. [GetFirst]
  254. Action=GetMsg
  255. Prompt=$firstmsg
  256. Default=MsgInfo
  257. Retries=0
  258. Delay=0
  259. Button=SOFTABORT
  260.  
  261. ; Notify user about information for the message
  262. [MsgInfo]
  263. Action=Play
  264. Prompt=$current+V\RECEIVED.+$msgdate+V\AT.+$msgtime
  265. Menu05=GetPrev
  266. Menu06=GetNext
  267. Menu14=EndOpt
  268. Menu15=GoodBye
  269. Default=PlayMsg
  270. Retries=3
  271. Delay=2
  272. Button=SOFTABORT
  273.  
  274. ; Play current message
  275. [PlayMsg]
  276. Action=Play
  277. Prompt=$altmessage
  278. Menu05=GetPrev
  279. Menu06=GetNext
  280. Menu14=EndOpt
  281. Menu15=EndPlay
  282. Default=EndPlay
  283. Retries=3
  284. Delay=1
  285. Button=SOFTABORT
  286.  
  287. ; Prompt user to replay message,mark old,remove,get next message,or end
  288. [EndPlay]
  289. Action=Play
  290. Prompt=V\USERM1A.+$ifnew+V\USERM2A.+V\USERM3A+$iffax+V\USERM4.+V\USERM5A.+V\USERM6A.
  291. Menu01=Replay
  292. Menu02=MarkOld
  293. Menu03=RemMsg
  294. Menu04=FaxBack
  295. Menu05=GetPrev
  296. Menu06=GetNext
  297. Menu14=EndOpt
  298. Menu15=GoodBye
  299. Default=EndPlay
  300. Delay=2
  301. Button=SOFTABORT
  302. Retries=2
  303.  
  304. ; Get next message
  305. [GetNext]
  306. Action=GetMsg
  307. Prompt=$nextmsg
  308. Default=MsgInfo
  309. EndOfList=EndNew,EndOld
  310. Button=SOFTABORT
  311.  
  312. ; tell the user that this is the end of the new msg list
  313. [EndNew]
  314. Action=play
  315. Prompt=V\ENDNEW.
  316. Menu06=CheckOldList
  317. Menu14=EndOpt
  318. Menu15=GoodBye
  319. Default=CheckOldList
  320. Delay=1
  321. Retries=1 
  322. Button=SOFTABORT
  323.  
  324. ; Get previous message
  325. [GetPrev]
  326. Action=GetMsg
  327. Prompt=$prevmsg
  328. Default=MsgInfo
  329. Button=SOFTABORT
  330.  
  331. ; Fax back the fax message
  332. [FaxBack]
  333. Action=Faxback
  334. Prompt=$altmessage
  335. Default=FaxDone
  336. Error=EndPlay
  337. Delay=0
  338. Button=SOFTABORT
  339.  
  340. ; Notify user that fax message is queued for sending
  341. [FaxDone]
  342. Action=Play
  343. Prompt=V\FAXSEND.
  344. Menu06=FaxRead
  345. Menu14=Return
  346. Menu15=GoodBye
  347. Default=FaxRead
  348. Delay=1
  349. Button=SOFTABORT
  350.  
  351. ; Mark fax message as read
  352. [FaxRead]
  353. Action=UpdateMsg
  354. Prompt=$markread
  355. Default=GetNext
  356. Button=SOFTABORT
  357.  
  358. ; Mark message as old
  359. [MarkOld]
  360. Action=UpdateMsg
  361. Prompt=$markread
  362. Default=PlayOld
  363. Button=SOFTABORT
  364.  
  365. ; Notify user message marked as old
  366. [PlayOld]
  367. Action=Play
  368. Prompt=V\MARKOLD.
  369. Menu05=GetPrev
  370. Menu06=GetNext
  371. Menu14=EndOpt
  372. Menu15=GoodBye
  373. Default=GetNext
  374. Retries=1
  375. Delay=1
  376. Button=SOFTABORT
  377.  
  378. ; Remove message
  379. [RemMsg]
  380. Action=UpdateMsg
  381. Prompt=$remove
  382. Default=PlayRem
  383. Button=SOFTABORT
  384.  
  385. ; Notify user that message removed
  386. [PlayRem]
  387. Action=Play
  388. Prompt=V\REMOVED.
  389. Menu06=GetNext
  390. Menu14=EndOpt
  391. Menu15=GoodBye
  392. Default=GetNext
  393. Retries=1
  394. Delay=1
  395. Button=SOFTABORT
  396.  
  397. ; Replay the message
  398. [Replay]
  399. Action=Play
  400. Prompt=$altmessage
  401. Menu06=EndPlay
  402. Menu14=EndOpt
  403. Menu15=GoodBye
  404. Default=EndPlay
  405. Retries=3
  406. Delay=1
  407. Button=SOFTABORT
  408.  
  409. ; Tell the users that this is the end of the old message list
  410. [EndOld]
  411. Action=play
  412. Prompt=V\ENDSAVED.
  413. Menu14=EndOpt
  414. Menu15=GoodBye
  415. Default=EndOpt
  416. Delay=2
  417. Retries=1 
  418. Button=SOFTABORT
  419.  
  420. ; Prompt user to restart, change password, re-record spoken name, or exit
  421. [EndOpt]
  422. Action=Play
  423. Prompt=V\RESTART.+V\USERM7.+V\EXIT.
  424. Menu01=StartUpCheck
  425. Menu06=StartUpCheck
  426. Menu07=NewPass
  427. ;;;;;; Keeps the superuser mode when returning...
  428. ;;;;;;Menu14=ResetSuper
  429. Menu14=Return
  430. Menu15=GoodBye
  431. Default=EndOpt
  432. Retries=2
  433. Delay=2
  434. Button=SOFTABORT
  435.  
  436.  
  437. [ResetSuper]
  438. Action=SetUser
  439. Prompt=
  440. Menu00=
  441. Default=Return
  442.  
  443. ; password change 1/6. Ask for the new password (limited to 2 digits)
  444. [NewPass]
  445. Prompt=V\NEW.+V\PASSWORD.
  446. Action=password
  447. value=2
  448. Menu00=AgainDigs
  449. Default=NewPass
  450. Delay=5
  451. Button=SOFTABORT
  452.  
  453. ; password change 2/6. Ask for it again (limited to 2 digits)
  454. [AgainDigs]
  455. Prompt=V\NEW.+V\PASSWORD.+V\AGAIN.
  456. Action=capturedigits
  457. value=2
  458. Menu00=CheckPass
  459. Default=AgainDigs
  460. Delay=8
  461. Button=SOFTABORT
  462.  
  463. ; password change 3/6. compare the 2
  464. [CheckPass]
  465. Action=matchdigits
  466. Prompt=$password
  467. Menu00=WritePass
  468. Default=BadPass
  469. Delay=0
  470. Button=SOFTABORT
  471.  
  472. ; password change 4/6. Notify User that password change failed
  473. [BadPass]
  474. Action=Play
  475. Prompt=V\BADPASS.
  476. Delay=3
  477. Menu15=GoodBye
  478. Default=EndOpt
  479. Button=SOFTABORT
  480.  
  481. ; password change 5/6. Update the ini file with new password
  482. [WritePass]
  483. Action=WriteIniFile
  484. Prompt=$mailbox
  485. Default=WriteDone
  486. Delay=0
  487. Button=SOFTABORT
  488.  
  489. ; password change 6/6. Play 'DONE'
  490. [WriteDone]
  491. Action=Play
  492. Prompt=V\DONE.
  493. Menu14=EndOpt
  494. Menu15=GoodBye
  495. Default=EndOpt
  496. Delay=3
  497. Button=SOFTABORT
  498.  
  499. [SOFTABORT]
  500. Prompt=
  501. Action=exit
  502. Default=
  503. Delay=0
  504.  
  505. [GOODBYE]
  506. Prompt=
  507. Action=faxsend
  508. Default=WAVE_BYE
  509. Delay=0
  510. Menu00=FODFAXBACK
  511.  
  512. [FODFAXBACK]
  513. Prompt=FAXBACK.VMU
  514. Action=callmenu
  515. Default=WAVE_BYE
  516. Delay=0
  517.  
  518. [WAVE_BYE]
  519. Prompt=V\GOODBYE.
  520. Action=play
  521. Default=GOODBYE_BODY
  522. Delay=0
  523.  
  524. [GOODBYE_BODY]
  525. Prompt=
  526. Action=hangup
  527. Default=
  528. Delay=0
  529.